Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Values provider #166

Merged
merged 102 commits into from
Feb 1, 2024
Merged

Random Values provider #166

merged 102 commits into from
Feb 1, 2024

Conversation

drinkcoffee
Copy link
Contributor

This PR contains the initial version of the Random Values Provider. This will provide a standardised interface for games to access random numbers.

The discussion document for the Random Provider is here: https://immutable.atlassian.net/wiki/spaces/BR/pages/2361984032/Secure+Random+Number+Generation+in+the+Immutable+zkEVM

The code is accompanied with description and architecture information and a test plan. The test coverage is 100%.

The PR also updates the solhint configuration in preparation for applying the linting rules across the codebase.

The code in the PR also has had prettier applied to fix basic spacing / formatting issues.

Once the initial version of this code has been merged to main, an entry will be added to developer hub.

ermyas
ermyas previously approved these changes Jan 24, 2024
ermyas
ermyas previously approved these changes Feb 1, 2024
@drinkcoffee drinkcoffee merged commit f9da1fb into main Feb 1, 2024
5 checks passed
@drinkcoffee drinkcoffee deleted the random branch April 1, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants